FROM node:10.9.0-alpine
RUN yarn config set registry https://registry.npm.taobao.org \
    && yarn global add webpack \
    && yarn global add webpack-cli
ENTRYPOINT ["webpack"]
